package io.youngledo.usb.storage;

import lombok.Getter;

@Getter
public enum StorageType {
    MINIO("MinIO", "minio", "https://docs.min.io/community/minio-object-store/"),
    ALIYUN_OSS("阿里云", "oss", "https://help.aliyun.com/zh/oss/"),
    TENCENT_COS("腾讯云", "cos", "https://cloud.tencent.com/product/cos"),
    HUAWEI_OBS("华为云", "obs", "https://support.huaweicloud.com/obs/index.html"),
    BAIDU_BOS("百度云", "bos", "https://cloud.baidu.com/doc/BOS/index.html"),
    QINIU_KODO("七牛云", "kodo", "https://developer.qiniu.com/kodo"),
    VOLC_ENGINE_TOS("火山引擎", "tos", "https://www.volcengine.com/product/tos");

    private final String displayName;
    private final String code;
    private final String websiteUrl;

    StorageType(String displayName, String code, String websiteUrl) {
        this.displayName = displayName;
        this.code = code;
        this.websiteUrl = websiteUrl;
    }

    @Override
    public String toString() {
        return displayName;
    }
}